package com.fare.taluo.vo.crawl.statistics;

import java.util.Date;

public class SingleLineCrawlStatisticsStatusVO {
	//抓取频率
	private int frequency;
	/*
	 * 1，表示“已完成”
	 * 2，表示“执行中”
	 * 3，表示“未执行”
	*/
	private int status;
	
	private String statusName;
	
	//开始时间（进行中）
	private String startTimeStr;
	private Date startTime;
	
	//城市信息
	private String fromCity;
	private String fromCityName;
	private String toCity;
	private String toCityName;
	
	//抓取渠道 
	private String grabChannel;
	private int GrabChannelID;
	private String hbaseKey;
	//预计开始时间(未开始)
	private String noBeginNextTimeStr;
	private Date noBeginNextTime;
	
	//已完成结束时间（已完成）
	private String finishedStartTimeStr;
	private Date finishedStartTime;
	
	public int getFrequency() {
		return frequency;
	}
	public void setFrequency(int frequency) {
		this.frequency = frequency;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getStartTimeStr() {
		return startTimeStr;
	}
	public void setStartTimeStr(String startTimeStr) {
		this.startTimeStr = startTimeStr;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public String getFromCity() {
		return fromCity;
	}
	public void setFromCity(String fromCity) {
		this.fromCity = fromCity;
	}
	public String getFromCityName() {
		return fromCityName;
	}
	public void setFromCityName(String fromCityName) {
		this.fromCityName = fromCityName;
	}
	public String getToCity() {
		return toCity;
	}
	public void setToCity(String toCity) {
		this.toCity = toCity;
	}
	public String getToCityName() {
		return toCityName;
	}
	public void setToCityName(String toCityName) {
		this.toCityName = toCityName;
	}
	public String getGrabChannel() {
		return grabChannel;
	}
	public void setGrabChannel(String grabChannel) {
		this.grabChannel = grabChannel;
	}
	public int getGrabChannelID() {
		return GrabChannelID;
	}
	public void setGrabChannelID(int grabChannelID) {
		GrabChannelID = grabChannelID;
	}
	public String getNoBeginNextTimeStr() {
		return noBeginNextTimeStr;
	}
	public void setNoBeginNextTimeStr(String noBeginNextTimeStr) {
		this.noBeginNextTimeStr = noBeginNextTimeStr;
	}
	public Date getNoBeginNextTime() {
		return noBeginNextTime;
	}
	public void setNoBeginNextTime(Date noBeginNextTime) {
		this.noBeginNextTime = noBeginNextTime;
	}
	public String getFinishedStartTimeStr() {
		return finishedStartTimeStr;
	}
	public void setFinishedStartTimeStr(String finishedStartTimeStr) {
		this.finishedStartTimeStr = finishedStartTimeStr;
	}
	public Date getFinishedStartTime() {
		return finishedStartTime;
	}
	public void setFinishedStartTime(Date finishedStartTime) {
		this.finishedStartTime = finishedStartTime;
	}
	public String getStatusName() {
		int status=this.getStatus();
		if(status==1){
			statusName="已完成";
		}if(status==2){
			statusName="执行中";
		}if(status==3){
			statusName="未执行";
		}		
		return statusName;
	}
	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
	public String getHbaseKey() {
		return hbaseKey;
	}
	public void setHbaseKey(String hbaseKey) {
		this.hbaseKey = hbaseKey;
	}
	
	
}
